//
//  PhotoViewModel.h
//  zhuchiren
//
//  Created by rainday on 15/2/8.
//  Copyright (c) 2015年 rainday. All rights reserved.
//

#import <Foundation/Foundation.h>



@interface PhotoViewModel : NSObject

@property (nonatomic ,readonly) NSMutableArray *dataArray;
@property (nonatomic ,assign) BOOL hasLoaded;

- (void)fetchDatazWithUser:(NSString *)username;


- (NSInteger)numberOfRowsInSection:(NSInteger)section;
- (NSDictionary *)dictionaryForItemAtIndexPath:(NSIndexPath *)indexPath;

- (void)removeItemsInArray:(NSArray *)array;
- (void)addPhoto:(id)photo;


@end
